import type { RouteRecordRaw } from 'vue-router'
import { RouteName, RoutePath } from '../enums'

const editor: RouteRecordRaw[] = [
  {
    path: '/',
    redirect: RoutePath.editor,
  },
  {
    path: RoutePath.editor,
    name: RouteName.editor,
    component: () => import('@apps/editor/src/views/editor/editor.vue'),
    meta: {
      title: '设计器',
    },
  },
]

export default editor
